package com.noahplat.person.utils;

import com.noahplat.person.pojo.FirstDepart;
import com.noahplat.person.pojo.SecondDepart;

import java.util.List;

/**
 * @ClassName: DepartDto
 * @Description: 科室分类返回前端数据
 * @Author 李景星
 * @Date 2021/3/6
 * @Version 1.0
 */
public class DepartDto {

    private FirstDepart firstDepart;    //一级分类信息
    private List<SecondDepart> secondDeparts;   //和一级分类关联的二级分类列表

    public FirstDepart getFirstDepart() {
        return firstDepart;
    }

    public void setFirstDepart(FirstDepart firstDepart) {
        this.firstDepart = firstDepart;
    }

    public List<SecondDepart> getSecondDeparts() {
        return secondDeparts;
    }

    public void setSecondDeparts(List<SecondDepart> secondDeparts) {
        this.secondDeparts = secondDeparts;
    }
}
